package com.ruoyi.blog.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笔记管理对象 blog
 * 
 * @author shz
 * @date 2024-09-02
 */
public class Blog extends BaseEntity
{
    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    private static final long serialVersionUID = 1L;

    /** 笔记id */
    private Long id;

    /** 笔记标题 */
    @Excel(name = "笔记标题")
    private String title;

    /** 笔记内容 */
    @Excel(name = "笔记内容")
    private String content;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long liked;

    /** 发布地址 */
    @Excel(name = "发布地址")
    private String address;

    /** 发布地址经度 */
    @Excel(name = "发布地址经度")
    private Long x;

    /** 发布地址纬度 */
    @Excel(name = "发布地址纬度")
    private Long y;

    /** 是否不公开 */
    @Excel(name = "是否不公开")
    private Long isHide;

    /** 发布状态 */
    @Excel(name = "发布状态")
    private Long status;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long mark;

    private String cause;
    private Long see;

    public Long getSee() {
        return see;
    }

    public void setSee(Long see) {
        this.see = see;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    /** 笔记图片信息 */
    private List<BlogImgs> blogImgsList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setLiked(Long liked) 
    {
        this.liked = liked;
    }

    public Long getLiked() 
    {
        return liked;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setX(Long x) 
    {
        this.x = x;
    }

    public Long getX() 
    {
        return x;
    }
    public void setY(Long y) 
    {
        this.y = y;
    }

    public Long getY() 
    {
        return y;
    }
    public void setIsHide(Long isHide) 
    {
        this.isHide = isHide;
    }

    public Long getIsHide() 
    {
        return isHide;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setMark(Long mark) 
    {
        this.mark = mark;
    }

    public Long getMark() 
    {
        return mark;
    }

    public List<BlogImgs> getBlogImgsList()
    {
        return blogImgsList;
    }

    public void setBlogImgsList(List<BlogImgs> blogImgsList)
    {
        this.blogImgsList = blogImgsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("liked", getLiked())
            .append("address", getAddress())
            .append("x", getX())
            .append("y", getY())
            .append("isHide", getIsHide())
            .append("status", getStatus())
            .append("mark", getMark())
            .append("blogImgsList", getBlogImgsList())
            .toString();
    }
}
